-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/yaml config #1401
Feature/yaml config #1401
Conversation
f585820
to
8a9284e
Compare
cd7b973
to
8cf1e31
Compare
9190008
to
5342e79
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1401 +/- ##
==========================================
- Coverage 75.02% 75.02% -0.01%
==========================================
Files 157 157
Lines 18146 18206 +60
==========================================
+ Hits 13614 13659 +45
- Misses 3409 3420 +11
- Partials 1123 1127 +4 ☔ View full report in Codecov by Sentry. |
What is your reasoning for having new different keys in yaml for e.g rootDir vs root_dir? While i appreciate that yaml will be the default moving forward, having two different keys can cause confusion and I see little motivation for making a breaking change here |
5a60298
to
0b35072
Compare
1978ef5
to
b2c49ab
Compare
4063016
to
22cd4e2
Compare
108b217
to
5498e84
Compare
I was using the same syntax as in json, then I realized that snake case is recommended. we can still go with the json syntax if that is preferred. |
220448e
to
8377147
Compare
50d54d4
to
be4bb6a
Compare
Please vote for default (newly created) aptly config file to be:
|
snake case for consistency; btw snake type is python friendly ;) |
32b24bb
to
ea9fc94
Compare
da589f2
to
067e2a1
Compare
ea9fc94
to
06e384c
Compare
067e2a1
to
e319f3c
Compare
and fix lint
3cb7da4
to
0d90ff9
Compare
Description of the Change
Documentation of the aptly configuration should be inline, which can be done with json:
However, this does not look that great.
In addition to json format config file, aptly can also support yaml format, which is easier to document:
This change brings the following:
/etc/aptly.conf
in aptly-api debian package is documented yamlaptly config show -yaml
(without documentation)Checklist